package com.atguigu.java3;

import com.atguigu.java2.OrderTest;

public class Order {
	public static void main(String[] args) {
		
		OrderTest order = new OrderTest();
//		order.orderDefault = 1;//The field OrderTest.orderDefault is not visible
		order.orderPublic = 2;
		//出了OrderTest类之后，私有的结构就不可调用了。
//		order.orderPrivate = 3;The field OrderTest.orderPrivate is not visible
		
//		order.methodDefault();//The method methodDefault() from the type OrderTest is not visible
		order.methodPublic();
//		order.methodPrivate();//he method methodPrivate() from the type OrderTest is not visible
}
}
